package com.atguigu08._interface.ex3;

public class ElectricVehicle extends Vehicle implements IPower{
    public ElectricVehicle(String band, String color) {
        super(band, color);
    }

    @Override
    public void power() {
        System.out.println("电力");
    }

    @Override
    public void run() {
        System.out.println("电动车走");
    }
}
